package com.youdoneed.user.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;

/**
 * 搜索词。
 */
@ApiModel("搜索词")
public class SearchWord {
    @ApiModelProperty("搜索词ID")
    private String searchWordId;

    @ApiModelProperty("用户ID")
    private String userId;

    @ApiModelProperty("搜索词")
    private String word;

    @ApiModelProperty("创建时间")
    private Date createTime;

    public String getSearchWordId() {
        return searchWordId;
    }

    public void setSearchWordId(String searchWordId) {
        this.searchWordId = searchWordId;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getWord() {
        return word;
    }

    public void setWord(String word) {
        this.word = word;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}